package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.RechargeMerchant;
import com.tbit.uqbike.client.pojo.newEntity.RideUseLog;

import java.util.Date;

/**
 * @Author: chen
 * @Description:
 * @Date: 创建于 19:56 2023/1/3
 */
public interface RideUseLogService {

    /**
     * 新增
     *
     * @param orderNO
     * @param adAccountId
     * @param brandId
     * @param money
     * @param balance
     */
    void insert(String orderNO, Integer adAccountId, Integer brandId, Integer money, Integer balance,
                Integer type,
                Date date, RechargeMerchant rechargeMerchant);

    /**
     * 查询
     *
     * @param orderNO
     */
    RideUseLog getByOrderNO(String orderNO);

    /**
     * 更新
     *
     * @param rideUseLog
     */
    void update(RideUseLog rideUseLog);
}
